import request from '@/utils/request'
import { ResultJobInfoVo, DeepRequired } from '../../interface'

/**
 * 求职者根据Id获取job
 * /job/one/{id}
 */
export function getJobOneById(params: GetJobOneByIdParams) {
  return request.get<DeepRequired<ResultJobInfoVo>>(`/job/one/${params.id}`)
}

interface GetJobOneByIdParams {
  id: number
}
